/* ************************Toast*************************** */
#toast {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 999999;
}

.toast {
  display: flex;
  align-items: center;
  background-color: #121313;
  border-radius: 2px;
  padding: 20px 0;
  min-width: 350px;
  max-width: 400px;
  height: 80px;
  border-left: 4px solid;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.08);
  transition: all linear 0.3s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 32px));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

.toast--success {
  border-color: #47d864;
}

.toast--success .toast__icon {
  color: #47d864;
}

.toast--info {
  border-color: #2f86eb;
}

.toast--info .toast__icon {
  color: #2f86eb;
}

.toast--warning {
  border-color: #ffc021;
}

.toast--warning .toast__icon {
  color: #ffc021;
}

.toast--error {
  border-color: #ff623d;
}

.toast--error .toast__icon {
  color: #ff623d;
}

.toast + .toast {
  margin-top: 24px;
}

.toast__icon {
  font-size: 24px;
}

.toast__icon,
.toast__close {
  padding: 0 16px;
}

.toast__body {
  flex-grow: 1;
}

.toast__title {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.toast__msg {
  font-size: 14px;
  color: #b0b8cc;
  margin-top: 6px;
  line-height: 1.5;
}

.toast__close {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

/* *****************Dialog******************* */
.dialog {
  background: #121313;
  width: 20%;
  position: absolute;
  left: 40%;
  top: 0;
  padding: 30px 30px 20px 30px;
  box-shadow: 0 10px 30px rgba(#333333, 0.4);
  border: 3px solid #333333;
  opacity: 0;
  transition: all 180ms ease-in;
  z-index: 100;
  display: none;
}
.dialog-mask {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 50;
  opacity: 0.5;
  background: rgb(0, 0, 0);
  display: none;
}
.dialog-mask_active {
  display: block;
}
.dialog_active {
  top: 30%;
  display: block;
  opacity: 1;
  transition: all 250ms ease-out;
}
.dialog_close {
  font-size: 2rem;
  line-height: 2rem;
  position: absolute;
  right: 15px;
  top: 15px;
  cursor: pointer;
  padding: 15px;
  transition: color 150ms ease;
}
.dialog_close:hover {
  color: #e74c3c;
}
.dialog_title {
  font-size: 2rem;
  font-family: "Slabo 27px", serif;
  font-weight: 100;
  margin: 0;
  padding: 0 0 10px 0;
  border-bottom: 2px solid #65a9ef;
}
.dialog_content {
  font-size: 1.1rem;
  line-height: 2rem;
  padding: 10px 0 10px 0;
}
.dialog_confirm {
  width: 80px;
  height: 40px;
  border: 3px solid #333333;
  background: #f1f1f1;
  text-transform: uppercase;
  display: block;
  transition: all 150ms ease-out;
  transform: translateY(0px);
  margin: 0;
  font-size: 1rem;
}
.dialog_confirm:hover,
.dialog_confirm:focus {
  outline: 0;
  transform: translateY(5px);
  transition: all 100ms ease-in;
  box-shadow: 0 5px 10px rgba(#333333, 0.4);
}
.dialog_confirm:active {
  transform: translateY(3px);
}
